package com.czl.base.data.bean.tengyun

import java.io.Serializable

/**
 * @author by xubin,
 * @date on 2022/1/17.
 * PS: Not easy to write code, please indicate.
 */
data class StorehouseBean(
    val useNum: Int?,
    val stockNum: Int?,
    val maxNum: Int?,
    val classList: List<ClassListBean>?,
    val stockWarnList: List<StockWarnBean>?,
    val list: List<StoreHouseListBean>?,
) : Serializable {
    data class ClassListBean(
        val stockNum: Int? = null,
        val classificationName: String? = null,
    ) : Serializable

    data class StockWarnBean(
        val stockNum: Int?,
        val sortCode: String?,
        val sortModel: String?,
        val sortImg: String?,
        val sortName: String?,
        val warnNum: Int?,
    ) : Serializable

    data class StoreHouseListBean(
        val storehouseId: Int? = null,
        val storehouseName: String? = null,
        val companyName: String? = null,
        val companyShortName: String? = null,
        val companyId: Int? = null,
        val manageCompanyId: Int? = null,
        val manageCompanyName: String? = null,
        val manageCompanyShortName: String? = null,
        val storehouseLocatName: String? = null,
        val storehouseLocatId: Int? = null,
        val roomId: String? = null,
        val storeyId: String? = null,
        val roomList: List<RoomListBean>?
    ) : Serializable
}